Motion.SetGroupParameter 方法

设定轴组的参数值。参数于 McGroupParameter 中定义。

命名空间IntervalZero.KINGSTAR.Local.Api

组合: IntervalZero.KINGSTAR.Local.Api (于 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

语法

C#VB
public KsCommandStatus SetGroupParameter(
       int Index,
       McGroupParameter ParameterNumber,
       double Value,
       McExecutionMode ExecutionMode
)
Public Function SetGroupParameter(
       Index As Integer,
       ParameterNumber As McGroupParameter,
       Value As Double,
       ExecutionMode As McExecutionMode
) As KsCommandStatus

参数

Index [in]

型别:int

轴组的索引。索引以 0 为起始。最多可有 32 个轴组。

 

ParameterNumber [in]

型别:McGroupParameter

McGroupParameter 中的参数。

 

Value [in]

型别:double

将值写入从 McGroupParameter 中选取的参数。例如选取 McGroupParameter 中的 mcMaxVelocityACS 参数,则须将值写入此参数。

 

ExecutionMode [in]

型别:McExecutionMode

定义方法的时间顺序。

回传值

型别:KsCommandStatus

回传 KsCommandStatus 类别。

范例

C#
N/A

参见

Motion 类别

IntervalZero.KINGSTAR.Local.Api 命名空间